// pages/mywallet/mywallet.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    notLeft: false,
  },

  goleft: function () {
    this.setData({
      notLeft: false
    })
  },
  goright: function () {
    this.setData({
      notLeft: true
    })
  },

  switchThree:function(e){
    var that = this;
    switch (e.currentTarget.id){
      case '1':
      wx.navigateTo({
        url: '../mydetail/mydetail',
      })
        break;
      case '2':
        wx.navigateTo({
          url: '../myrisemoney/myrisemoney',
        })
        break;
      case '3':
        wx.navigateTo({
          url: '../myrisemoney/myrisemoney',
        })
        break;
    }
  },
})